Repository navigation
refactor(dock): centralize tooltip timing - #1899
Merged
wjyrich merged 1 commit intoNov 30, 2026
Merged
Conversation
|
wjyrich
force-pushed
the
fix/task-399397-tooltip-master
branch
2 times, most recently
from
November 30, 2026 05:18
9ba8dd5 to
305335e
Compare
Reviewer's GuideAPIAdd a shared tooltip delay and show operation to PanelToolTip, cancelling pending displays when the tooltip closes.
Uses of the APIUse the shared tooltip delay for dock items while retaining tray-loader timing, and adjust tooltip positioning and preview behavior at each caller.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
1. Use a 300 ms tooltip delay on all platforms. 2. Remove local show timers from Dock items. 3. Bypass the delay for tooltips timed by tray-loader. Log: Centralize Dock tooltip timing in PanelToolTip. Influence: Dock tooltips share a consistent delay. refactor(dock): 统一任务栏提示计时 1. 所有平台统一使用 300 毫秒的提示延时。 2. 移除任务栏项目各自的显示计时器。 3. 已由 tray-loader 计时的提示跳过这层延时。 Log: 在 PanelToolTip 中统一任务栏提示计时。 Influence: 任务栏提示采用一致的延时。 PMS: TASK-399397
wjyrich
force-pushed
the
fix/task-399397-tooltip-master
branch
from
November 30, 2026 05:33
305335e to
0b3f1c5
Compare
18202781743
approved these changes
Nov 30, 2026
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 18202781743, wjyrich The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
统一任务栏提示的显示计时,所有平台均为 300 毫秒。移除任务栏项目各自的显示计时器,指针离开或提示关闭时取消待显示请求。tray-loader 已经计时的提示跳过公共延时。
验证:构建通过,公共提示计时器的 11 项离屏测试通过。
PMS: TASK-399397
Summary by Sourcery
Centralize dock tooltip timing while preserving producer-managed delays and consistently cancelling pending tooltip requests.
Bug Fixes:
Enhancements: